package com.homework.work01;

public class LogicalOperator2 {
    public static void main(String[] args) {
        int i = 1;
        int j = 0;
        //System.out.println(i*j==1 & i/j==0); 报错
        //因为&或|都是2边都要运行
        System.out.println(i*j==1 && i/j==0);
        //System.out.println(i*j==0 | i/j==0); 报错
        System.out.println(i*j==0 || i/j==0);
    }
}
